VimUnDo ̣ Q$]o@îwJB-Oۑ + + + + _LN _ _K 5_ ! _K {"readyState":4,"responseText":"\n\n
\n \n \nrelation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n
relation "license_api_billchainblock" does not exist\n\n
| Request Method: | \nPOST | \n
|---|---|
| Request URL: | \nhttps://172.40.2.221/api/licenses/ | \n
| Django Version: | \n3.1.4 | \n
| Exception Type: | \nProgrammingError | \n
| Exception Value: | \nrelation "license_api_billchainblock" does not exist\n | \n
| Exception Location: | \ndjango/db/backends/utils.py, line 82, in _execute | \n
| Python Executable: | \n/home/tuxguard/tg_service_licmgr/license_manager_app | \n
| Python Version: | \n3.8.0 | \n
| Python Path: | \n['/tmp/_MEIpy4VrD/base_library.zip', '/tmp/_MEIpy4VrD'] | \n
| Server time: | \nThu, 10 Dec 2020 16:23:00 +0000 | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/core/handlers/exception.py, line 47, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| get_response | \n<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
django/core/handlers/base.py, line 179, in _get_response\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| callback | \n<function LicenseList at 0x7f56304ccca0> | \n
| callback_args | \n() | \n
| callback_kwargs | \n{} | \n
| middleware_method | \n<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5630212700>> | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| response | \nNone | \n
| self | \n<django.core.handlers.wsgi.WSGIHandler object at 0x7f56371b6f40> | \n
| wrapped_callback | \n<function LicenseList at 0x7f56304ccca0> | \n
django/views/decorators/csrf.py, line 54, in wrapped_view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n(<WSGIRequest: POST '/api/licenses/'>,) | \n
| kwargs | \n{} | \n
| view_func | \n<function LicenseList at 0x7f56304ccc10> | \n
django/views/generic/base.py, line 70, in view\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| cls | \n<class 'license_api.views.LicenseList'> | \n
| initkwargs | \n{} | \n
| kwargs | \n{} | \n
| request | \n<WSGIRequest: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 509, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 469, in handle_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/api/licenses/'>,\n 'view': <license_api.views.LicenseList object at 0x7f56301bf220>} | \n
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exception_handler | \n<function exception_handler at 0x7f5630919e50> | \n
| response | \nNone | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/views.py, line 480, in raise_uncaught_exception\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| exc | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| renderer_format | \n'json' | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| use_plaintext_traceback | \nTrue | \n
rest_framework/views.py, line 506, in dispatch\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| handler | \n<bound method ListCreateAPIView.post of <license_api.views.LicenseList object at 0x7f56301bf220>> | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/generics.py, line 242, in post\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
rest_framework/mixins.py, line 19, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{} | \n
| request | \n<rest_framework.request.Request: POST '/api/licenses/'> | \n
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/mixins.py, line 24, in perform_create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| self | \n<license_api.views.LicenseList object at 0x7f56301bf220> | \n
| serializer | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
rest_framework/serializers.py, line 205, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{} | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
license_api/serializers.py, line 224, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ar_length | \n'M' | \n
| duration | \n'M' | \n
| isTestlicense | \nFalse | \n
| self | \nLicenseSerializer(context={'request': <rest_framework.request.Request: POST '/api/licenses/'>, 'format': None, 'view': <license_api.views.LicenseList object>}, data=<QueryDict: {'csrfmiddlewaretoken': ['vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI'], 'endcustomer': ['1'], 'reseller': [''], 'distributor': [''], 'seats': ['20'], 'duration': ['M'], 'isGenerated': ['true'], 'ar_length': ['M'], 'modules': ['1100'], 'webfilter_certificate': ['asdfasfd']}>):\n serial = UUIDField(read_only=True)\n endcustomer = PrimaryKeyRelatedField(queryset=Customer.objects.all())\n reseller = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n distributor = PrimaryKeyRelatedField(allow_null=True, queryset=Customer.objects.all(), required=False)\n modules = CharField(help_text='Modules need to be send in the form `10000000`, where the nth place defines the nth module.\\n The first module needs to be set since it is the scan module for the EP.\\n1. Scan Module\\n2. Webfilter', read_only=True)\n webfilter_certificate = CharField(allow_blank=True, max_length=256, required=True)\n webfilter_checksum = CharField(read_only=True)\n seats = IntegerField(max_value=2147483647, min_value=1, required=True)\n startdate = DateField(help_text='The date to which the license was generated.', read_only=True)\n enddate = DateField(read_only=True)\n initdate = DateField(help_text='The date to which this license with this serial was initialized.', label='Initialdate', read_only=True)\n duration = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |')\n autorenewal = BooleanField(help_text='When this boolean is active, the license will be automatically renewed when the license expires. The length of the new time will be set to ar_lenght.', label='Auto renewal', required=False)\n ar_one_time = BooleanField(help_text='When this boolean is True, the license will only be renewed once.', label='Auto renewal one time', required=False)\n ar_length = ChoiceField(choices=[('M', datetime.timedelta(days=31)), ('1Y', datetime.timedelta(days=365)), ('2Y', datetime.timedelta(days=730)), ('3Y', datetime.timedelta(days=1095))], help_text='This field is required when autorenewal is set to True. It sets the next lifespan of the license.\\n| String | Licensetype |\\n| ------ | ------ |\\n| M | month |\\n| 1Y | one year |\\n| 2Y | two year |\\n| 3Y | three year |', required=False)\n isGenerated = BooleanField(label='Generated', required=True)\n isLocked = BooleanField(label='Locked', required=False)\n isTestlicense = BooleanField(help_text='Can only be patched to False', label='Testlicense', required=False)\n license = CharField(read_only=True)\n license_hash = CharField(label='Hash', read_only=True)\n raw = CharField(help_text='The RAW data before encryption.', label='RAW', read_only=True) | \n
| validated_data | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
django/db/models/manager.py, line 85, in manager_method\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n() | \n
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| name | \n'create' | \n
| self | \n<django.db.models.manager.Manager object at 0x7f5630536f70> | \n
django/db/models/query.py, line 447, in create\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| kwargs | \n{'ar_length': datetime.timedelta(days=31),\n 'ar_one_time': False,\n 'autorenewal': False,\n 'distributor': None,\n 'duration': datetime.timedelta(days=31),\n 'endcustomer': <Customer: Testkunde>,\n 'isGenerated': True,\n 'isLocked': False,\n 'isTestlicense': False,\n 'modules': '11000000',\n 'reseller': None,\n 'seats': 20,\n 'webfilter_certificate': 'asdfasfd'} | \n
| obj | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| self | \n<QuerySet []> | \n
license_api/models.py, line 162, in save\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'license_api.models.License'> | \n
| ar_to | \nNone | \n
| args | \n() | \n
| kwargs | \n{'force_insert': True, 'using': 'default'} | \n
| seats_added | \nNone | \n
| self | \n<License: License object (e1ebaa5d-9f48-4f74-8f9e-deb3699bc598)> | \n
| skip_generation | \nFalse | \n
| transaction | \n'1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598' | \n
contextlib.py, line 75, in inner\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| func | \n<function require_lock.<locals>.require_lock_decorator.<locals>.wrapper at 0x7f5630ef4820> | \n
| kwds | \n{} | \n
| self | \n<django.db.transaction.Atomic object at 0x7f5630ef7f70> | \n
license_api/transaction.py, line 35, in wrapper\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| args | \n('1607617380 BUY 31 days, 0:00:00 20 e1ebaa5d-9f48-4f74-8f9e-deb3699bc598',) | \n
| connection | \n<django.db.DefaultConnectionProxy object at 0x7f5638868be0> | \n
| cursor | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| kwargs | \n{} | \n
| lock | \n'ACCESS EXCLUSIVE' | \n
| model | \n<class 'license_api.models.BillChainBlock'> | \n
| view_func | \n<function create_block at 0x7f5630ef4790> | \n
django/db/backends/utils.py, line 98, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| __class__ | \n<class 'django.db.backends.utils.CursorDebugWrapper'> | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 66, in execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 75, in _execute_with_wrappers\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| context | \n{'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>} | \n
| executor | \n<bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>> | \n
| many | \nFalse | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/backends/utils.py, line 84, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
django/db/utils.py, line 90, in __exit__\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| db_exc_type | \n<class 'psycopg2.ProgrammingError'> | \n
| dj_exc_type | \n<class 'django.db.utils.ProgrammingError'> | \n
| dj_exc_value | \nProgrammingError('relation "license_api_billchainblock" does not exist\\n') | \n
| exc_type | \n<class 'psycopg2.errors.UndefinedTable'> | \n
| exc_value | \nUndefinedTable('relation "license_api_billchainblock" does not exist\\n') | \n
| self | \n<django.db.utils.DatabaseErrorWrapper object at 0x7f562f767fd0> | \n
| traceback | \n<traceback object at 0x7f562f509ac0> | \n
django/db/backends/utils.py, line 82, in _execute\n\n \n <source code not available>…
| Variable | \nValue | \n
|---|---|
| ignored_wrapper_args | \n(False,\n {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f5636e73f70>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0>}) | \n
| params | \nNone | \n
| self | \n<django.db.backends.postgresql.base.CursorDebugWrapper object at 0x7f562f77dca0> | \n
| sql | \n'LOCK TABLE license_api_billchainblock IN ACCESS EXCLUSIVE MODE' | \n
sysadm
\n \n\nNo GET data
\n \n\n| Variable | \nValue | \n
|---|---|
| csrfmiddlewaretoken | \n'vt8CjRVpFWXIuMzQsCwlJdRcsvINR45OuHFXphbRowdFoy72MENglFlfRg3WbcoI' | \n
| endcustomer | \n'1' | \n
| reseller | \n'' | \n
| distributor | \n'' | \n
| seats | \n'20' | \n
| duration | \n'M' | \n
| isGenerated | \n'true' | \n
| ar_length | \n'M' | \n
| modules | \n'1100' | \n
| webfilter_certificate | \n'asdfasfd' | \n
No FILES data
\n \n\n\n| Variable | \nValue | \n
|---|---|
| csrftoken | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| Variable | \nValue | \n
|---|---|
| CONTENT_LENGTH | \n'214' | \n
| CONTENT_TYPE | \n'application/x-www-form-urlencoded; charset=UTF-8' | \n
| CSRF_COOKIE | \n'lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_ACCEPT | \n'*/*' | \n
| HTTP_ACCEPT_ENCODING | \n'gzip, deflate, br' | \n
| HTTP_ACCEPT_LANGUAGE | \n'en-US,en;q=0.5' | \n
| HTTP_AUTHORIZATION | \n('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjA3NjE3NDU4LCJqdGkiOiJlN2VhODIzZTNjNzg0NmY2ODM2YjRhMDdmN2ZlNzJiOSIsInVzZXJfaWQiOjF9.BwipaX8w7YjePHM0ql_lKfA8AGC8fWuS2aqAxO-3gn0') | \n
| HTTP_CONNECTION | \n'close' | \n
| HTTP_COOKIE | \n'csrftoken=lvj3LDLjFJguuoUWWP41jfe8sETfUqmzkJQoR31Lojwroas8gRlWVHIbRpeoeyFt' | \n
| HTTP_HOST | \n'172.40.2.221' | \n
| HTTP_ORIGIN | \n'https://172.40.2.221' | \n
| HTTP_REFERER | \n'https://172.40.2.221/licenses/new' | \n
| HTTP_USER_AGENT | \n'Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' | \n
| HTTP_X_CSRFTOKEN | \n'********************' | \n
| HTTP_X_FORWARDED_FOR | \n'10.35.8.4' | \n
| HTTP_X_FORWARDED_PROTO | \n'https' | \n
| HTTP_X_REAL_IP | \n'10.35.8.4' | \n
| HTTP_X_REQUESTED_WITH | \n'XMLHttpRequest' | \n
| PATH_INFO | \n'/api/licenses/' | \n
| QUERY_STRING | \n'' | \n
| RAW_URI | \n'/api/licenses/' | \n
| REMOTE_ADDR | \n'' | \n
| REQUEST_METHOD | \n'POST' | \n
| SCRIPT_NAME | \n'' | \n
| SERVER_NAME | \n'172.40.2.221' | \n
| SERVER_PORT | \n'443' | \n
| SERVER_PROTOCOL | \n'HTTP/1.0' | \n
| SERVER_SOFTWARE | \n'gunicorn/20.0.4' | \n
| gunicorn.socket | \n<socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/tuxguard/tg_service_licmgr/license_manager_app.sock> | \n
| wsgi.errors | \n<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5630221f40> | \n
| wsgi.file_wrapper | \n<class 'gunicorn.http.wsgi.FileWrapper'> | \n
| wsgi.input | \n<gunicorn.http.body.Body object at 0x7f5630221e20> | \n
| wsgi.input_terminated | \nTrue | \n
| wsgi.multiprocess | \nTrue | \n
| wsgi.multithread | \nFalse | \n
| wsgi.run_once | \nFalse | \n
| wsgi.url_scheme | \n'https' | \n
| wsgi.version | \n(1, 0) | \n
baseapp.settings| Setting | \nValue | \n
|---|---|
| ABSOLUTE_URL_OVERRIDES | \n{} | \n
| ADMINS | \n[] | \n
| ALLOWED_HOSTS | \n['172.40.2.221'] | \n
| APPEND_SLASH | \nTrue | \n
| AUTHENTICATION_BACKENDS | \n['django.contrib.auth.backends.ModelBackend'] | \n
| AUTH_PASSWORD_VALIDATORS | \n'********************' | \n
| AUTH_USER_MODEL | \n'auth.User' | \n
| BASE_DIR | \n'/tmp/_MEIpy4VrD' | \n
| CACHES | \n{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} | \n
| CACHE_MIDDLEWARE_ALIAS | \n'default' | \n
| CACHE_MIDDLEWARE_KEY_PREFIX | \n'********************' | \n
| CACHE_MIDDLEWARE_SECONDS | \n600 | \n
| CRONJOBS | \n[('0 2 * * *', 'license_api.cron.check_activation'),\n ('0 2 1 * *', 'license_api.cron.renew_licenses')] | \n
| CSRF_COOKIE_AGE | \n31449600 | \n
| CSRF_COOKIE_DOMAIN | \nNone | \n
| CSRF_COOKIE_HTTPONLY | \nFalse | \n
| CSRF_COOKIE_NAME | \n'csrftoken' | \n
| CSRF_COOKIE_PATH | \n'/' | \n
| CSRF_COOKIE_SAMESITE | \n'Lax' | \n
| CSRF_COOKIE_SECURE | \nFalse | \n
| CSRF_FAILURE_VIEW | \n'django.views.csrf.csrf_failure' | \n
| CSRF_HEADER_NAME | \n'HTTP_X_CSRFTOKEN' | \n
| CSRF_TRUSTED_ORIGINS | \n[] | \n
| CSRF_USE_SESSIONS | \nFalse | \n
| DATABASES | \n{'default': {'ATOMIC_REQUESTS': False,\n 'AUTOCOMMIT': True,\n 'CONN_MAX_AGE': 0,\n 'ENGINE': 'django.db.backends.postgresql',\n 'HOST': 'localhost',\n 'NAME': 'masterdb',\n 'OPTIONS': {},\n 'PASSWORD': '********************',\n 'PORT': 5432,\n 'TEST': {'CHARSET': None,\n 'COLLATION': None,\n 'MIGRATE': True,\n 'MIRROR': None,\n 'NAME': None},\n 'TIME_ZONE': None,\n 'USER': 'tuxguard'}} | \n
| DATABASE_ROUTERS | \n[] | \n
| DATA_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| DATA_UPLOAD_MAX_NUMBER_FIELDS | \n1000 | \n
| DATETIME_FORMAT | \n'N j, Y, P' | \n
| DATETIME_INPUT_FORMATS | \n['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M'] | \n
| DATE_FORMAT | \n'N j, Y' | \n
| DATE_INPUT_FORMATS | \n['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y'] | \n
| DEBUG | \nTrue | \n
| DEBUG_PROPAGATE_EXCEPTIONS | \nFalse | \n
| DECIMAL_SEPARATOR | \n'.' | \n
| DEFAULT_CHARSET | \n'utf-8' | \n
| DEFAULT_EXCEPTION_REPORTER | \n'django.views.debug.ExceptionReporter' | \n
| DEFAULT_EXCEPTION_REPORTER_FILTER | \n'django.views.debug.SafeExceptionReporterFilter' | \n
| DEFAULT_FILE_STORAGE | \n'django.core.files.storage.FileSystemStorage' | \n
| DEFAULT_FROM_EMAIL | \n'webmaster@localhost' | \n
| DEFAULT_HASHING_ALGORITHM | \n'sha256' | \n
| DEFAULT_INDEX_TABLESPACE | \n'' | \n
| DEFAULT_TABLESPACE | \n'' | \n
| DISALLOWED_USER_AGENTS | \n[] | \n
| EMAIL_BACKEND | \n'django.core.mail.backends.smtp.EmailBackend' | \n
| EMAIL_HOST | \n'localhost' | \n
| EMAIL_HOST_PASSWORD | \n'********************' | \n
| EMAIL_HOST_USER | \n'' | \n
| EMAIL_PORT | \n25 | \n
| EMAIL_SSL_CERTFILE | \nNone | \n
| EMAIL_SSL_KEYFILE | \n'********************' | \n
| EMAIL_SUBJECT_PREFIX | \n'[Django] ' | \n
| EMAIL_TIMEOUT | \nNone | \n
| EMAIL_USE_LOCALTIME | \nFalse | \n
| EMAIL_USE_SSL | \nFalse | \n
| EMAIL_USE_TLS | \nFalse | \n
| FILE_UPLOAD_DIRECTORY_PERMISSIONS | \nNone | \n
| FILE_UPLOAD_HANDLERS | \n['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] | \n
| FILE_UPLOAD_MAX_MEMORY_SIZE | \n2621440 | \n
| FILE_UPLOAD_PERMISSIONS | \n420 | \n
| FILE_UPLOAD_TEMP_DIR | \nNone | \n
| FIRST_DAY_OF_WEEK | \n0 | \n
| FIXTURE_DIRS | \n[] | \n
| FORCE_SCRIPT_NAME | \nNone | \n
| FORMAT_MODULE_PATH | \nNone | \n
| FORM_RENDERER | \n'django.forms.renderers.DjangoTemplates' | \n
| IGNORABLE_404_URLS | \n[] | \n
| INSTALLED_APPS | \n['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n 'simple_history',\n 'django_crontab',\n 'core',\n 'license_api',\n 'drf_yasg2',\n 'bootstrap4',\n 'gui'] | \n
| INTERNAL_IPS | \n[] | \n
| LANGUAGES | \n[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokmål'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')] | \n
| LANGUAGES_BIDI | \n['he', 'ar', 'ar-dz', 'fa', 'ur'] | \n
| LANGUAGE_CODE | \n'en-us' | \n
| LANGUAGE_COOKIE_AGE | \nNone | \n
| LANGUAGE_COOKIE_DOMAIN | \nNone | \n
| LANGUAGE_COOKIE_HTTPONLY | \nFalse | \n
| LANGUAGE_COOKIE_NAME | \n'django_language' | \n
| LANGUAGE_COOKIE_PATH | \n'/' | \n
| LANGUAGE_COOKIE_SAMESITE | \nNone | \n
| LANGUAGE_COOKIE_SECURE | \nFalse | \n
| LOCALE_PATHS | \n[] | \n
| LOGGING | \n{} | \n
| LOGGING_CONFIG | \n'logging.config.dictConfig' | \n
| LOGIN_REDIRECT_URL | \n'/accounts/profile/' | \n
| LOGIN_URL | \n'/accounts/login/' | \n
| LOGOUT_REDIRECT_URL | \nNone | \n
| MANAGERS | \n[] | \n
| MEDIA_ROOT | \n'' | \n
| MEDIA_URL | \n'/' | \n
| MESSAGE_STORAGE | \n'django.contrib.messages.storage.fallback.FallbackStorage' | \n
| MIDDLEWARE | \n['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'simple_history.middleware.HistoryRequestMiddleware'] | \n
| MIGRATION_MODULES | \n{} | \n
| MODERNRPC_METHODS_MODULES | \n['license_api.rpc_methods'] | \n
| MONTH_DAY_FORMAT | \n'F j' | \n
| NUMBER_GROUPING | \n0 | \n
| PASSWORD_HASHERS | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT | \n'********************' | \n
| PASSWORD_RESET_TIMEOUT_DAYS | \n'********************' | \n
| PREPEND_WWW | \nFalse | \n
| REST_FRAMEWORK | \n{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'],\n 'DEFAULT_FILTER_BACKENDS': ('rest_framework_datatables.filters.DatatablesFilterBackend',),\n 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer'),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} | \n
| ROOT_URLCONF | \n'baseapp.urls' | \n
| SECRET_KEY | \n'********************' | \n
| SECURE_BROWSER_XSS_FILTER | \nFalse | \n
| SECURE_CONTENT_TYPE_NOSNIFF | \nTrue | \n
| SECURE_HSTS_INCLUDE_SUBDOMAINS | \nFalse | \n
| SECURE_HSTS_PRELOAD | \nFalse | \n
| SECURE_HSTS_SECONDS | \n0 | \n
| SECURE_PROXY_SSL_HEADER | \nNone | \n
| SECURE_REDIRECT_EXEMPT | \n[] | \n
| SECURE_REFERRER_POLICY | \n'same-origin' | \n
| SECURE_SSL_HOST | \nNone | \n
| SECURE_SSL_REDIRECT | \nFalse | \n
| SERVER_EMAIL | \n'root@localhost' | \n
| SESSION_CACHE_ALIAS | \n'default' | \n
| SESSION_COOKIE_AGE | \n1209600 | \n
| SESSION_COOKIE_DOMAIN | \nNone | \n
| SESSION_COOKIE_HTTPONLY | \nTrue | \n
| SESSION_COOKIE_NAME | \n'sessionid' | \n
| SESSION_COOKIE_PATH | \n'/' | \n
| SESSION_COOKIE_SAMESITE | \n'Lax' | \n
| SESSION_COOKIE_SECURE | \nFalse | \n
| SESSION_ENGINE | \n'django.contrib.sessions.backends.db' | \n
| SESSION_EXPIRE_AT_BROWSER_CLOSE | \nFalse | \n
| SESSION_FILE_PATH | \nNone | \n
| SESSION_SAVE_EVERY_REQUEST | \nFalse | \n
| SESSION_SERIALIZER | \n'django.contrib.sessions.serializers.JSONSerializer' | \n
| SETTINGS_MODULE | \n'baseapp.settings' | \n
| SHORT_DATETIME_FORMAT | \n'm/d/Y P' | \n
| SHORT_DATE_FORMAT | \n'm/d/Y' | \n
| SIGNING_BACKEND | \n'django.core.signing.TimestampSigner' | \n
| SILENCED_SYSTEM_CHECKS | \n[] | \n
| STATICFILES_DIRS | \n['/tmp/_MEIpy4VrD/static'] | \n
| STATICFILES_FINDERS | \n['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | \n
| STATICFILES_STORAGE | \n'django.contrib.staticfiles.storage.StaticFilesStorage' | \n
| STATIC_ROOT | \n<Path:/var/www/tuxguard/static> | \n
| STATIC_URL | \n'/static/' | \n
| SWAGGER_SETTINGS | \n{'DEFAULT_INFO': 'license_api.urls.api_info',\n 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n 'name': 'Authorization',\n 'type': 'apiKey'}},\n 'USE_SESSION_AUTH': False} | \n
| TEMPLATES | \n[{'APP_DIRS': True,\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': ['/tmp/_MEIpy4VrD/templates'],\n 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages'],\n 'libraries': {'bootstrap4': 'bootstrap4.templatetags.bootstrap4',\n 'rest_framework': 'rest_framework.templatetags.rest_framework'}}}] | \n
| TEMPLATE_DEBUG | \nTrue | \n
| TEST_NON_SERIALIZED_APPS | \n[] | \n
| TEST_RUNNER | \n'django.test.runner.DiscoverRunner' | \n
| THOUSAND_SEPARATOR | \n',' | \n
| TIME_FORMAT | \n'P' | \n
| TIME_INPUT_FORMATS | \n['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | \n
| TIME_ZONE | \n'UTC' | \n
| USE_I18N | \nTrue | \n
| USE_L10N | \nTrue | \n
| USE_THOUSAND_SEPARATOR | \nFalse | \n
| USE_TZ | \nTrue | \n
| USE_X_FORWARDED_HOST | \nFalse | \n
| USE_X_FORWARDED_PORT | \nFalse | \n
| WSGI_APPLICATION | \n'baseapp.wsgi.application' | \n
| X_FRAME_OPTIONS | \n'DENY' | \n
| YEAR_MONTH_FORMAT | \n'F Y' | \n
\n You're seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n